home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / demo / client / defaults.cs < prev    next >
Encoding:
Text File  |  2005-11-23  |  2.2 KB  |  70 lines

  1. //-----------------------------------------------------------------------------
  2. // Torque Game Engine 
  3. // Copyright (C) GarageGames.com, Inc.
  4. //-----------------------------------------------------------------------------
  5.  
  6. // The master server is declared with the server defaults, which is
  7. // loaded on both clients & dedicated servers.  If the server mod
  8. // is not loaded on a client, then the master must be defined. 
  9. // $pref::Master[0] = "2:master.garagegames.com:28002";
  10.  
  11. $pref::Player::Name = "Visitor";
  12. $pref::Player::defaultFov = 90;
  13. $pref::Player::zoomSpeed = 0;
  14.  
  15. $pref::Net::LagThreshold = 400;
  16. $pref::Net::Port = 28000;
  17.  
  18. $pref::shadows = "2";
  19. $pref::HudMessageLogSize = 40;
  20. $pref::ChatHudLength = 1;
  21.  
  22.  
  23. $pref::Input::LinkMouseSensitivity = 1;
  24. $pref::Input::MouseEnabled = 0;
  25. $pref::Input::JoystickEnabled = 0;
  26. $pref::Input::KeyboardTurnSpeed = 0.1;
  27.  
  28. $pref::sceneLighting::cacheSize = 20000;
  29. $pref::sceneLighting::purgeMethod = "lastCreated";
  30. $pref::sceneLighting::cacheLighting = 1;
  31. $pref::sceneLighting::terrainGenerateLevel = 1;
  32.  
  33. $pref::ts::detailAdjust = 0.45;
  34.  
  35. $pref::Terrain::DynamicLights = 1;
  36. $pref::Interior::TexturedFog = 0;
  37.  
  38. $pref::Video::displayDevice = "OpenGL";
  39. $pref::Video::allowOpenGL = 1;
  40. $pref::Video::allowD3D = 1;
  41. $pref::Video::preferOpenGL = 1;
  42. $pref::Video::appliedPref = 0;
  43. $pref::Video::disableVerticalSync = 1;
  44. $pref::Video::monitorNum = 0;
  45. $pref::Video::windowedRes = "800 600";
  46. $pref::Video::fullScreen = "0";
  47. $Pref::Video::Resolution = "800 600 32";
  48.  
  49. $pref::Video::screenShotSession = 0;
  50. $pref::Video::screenShotFormat = "PNG";
  51.  
  52. $pref::OpenGL::force16BitTexture = "0";
  53. $pref::OpenGL::forcePalettedTexture = "0";
  54. $pref::OpenGL::maxHardwareLights = 3;
  55. $pref::VisibleDistanceMod = 1.0;
  56.  
  57. $pref::Audio::driver = "OpenAL";
  58. $pref::Audio::forceMaxDistanceUpdate = 0;
  59. $pref::Audio::environmentEnabled = 0;
  60. $pref::Audio::masterVolume   = 0.8;
  61. $pref::Audio::channelVolume1 = 0.8;
  62. $pref::Audio::channelVolume2 = 0.8;
  63. $pref::Audio::channelVolume3 = 0.8;
  64. $pref::Audio::channelVolume4 = 0.8;
  65. $pref::Audio::channelVolume5 = 0.8;
  66. $pref::Audio::channelVolume6 = 0.8;
  67. $pref::Audio::channelVolume7 = 0.8;
  68. $pref::Audio::channelVolume8 = 0.8;
  69.  
  70.